using System;
using System.Collections.Generic;
using System.Text;

namespace CodeFactory.IDAL
{
    public class ColumnInfo
    {
        private string name;
        private string type;
        private string privateName;
        private string publicName;
        private Type codeType;
        private bool isDAO;

        public ColumnInfo()
        {
            this.name = string.Empty;
            this.type = string.Empty;
            this.privateName = string.Empty;
            this.publicName = string.Empty;
            this.codeType = typeof(object);
            this.isDAO = false;
        }

        public string Name
        {
            get { return this.name; }
            set { this.name = value; }
        }

        public string Type
        {
            get { return this.type; }
            set { this.type = value; }
        }

        public string PrivateName
        {
            get { return this.privateName; }
            set { this.privateName = value; }
        }

        public string PublicName
        {
            get { return this.publicName; }
            set { this.publicName = value; }
        }

        public Type CodeType
        {
            get { return this.codeType; }
            set { this.codeType = value; }
        }

        public bool IsDAO
        {
            get { return this.isDAO; }
            set { this.isDAO = value; }
        }
    }
}
